package com.svs.generator.domain;

import com.svs.common.base.BaseEntity;

/**
 * ry数据库表列信息
 * 
 * @author dujianqiao
 */
public class ColumnInfo extends BaseEntity<ColumnInfo>{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 4952254503391803654L;

	/** 字段名称 */
	private String columnName;

	/** 字段类型 */
	private String dataType;

	/** 列描述 */
	private String columnComment;
	/** 列字段类型 */
	private String columnType ;

	/** Java属性类型 */
	private String attrType;

	/** Java属性名称(第一个字母大写)，如：user_name => UserName */
	private String attrName;

	/** Java属性名称(第一个字母小写)，如：user_name => userName */
	private String attrname;
	
	int sort ;
	/** 是否主键 */
	private String isPk;

	public String getColumnName() {
		return columnName;
	}

	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}

	public String getDataType() {
		return dataType;
	}

	public void setDataType(String dataType) {
		this.dataType = dataType;
	}

	public String getColumnComment() {
		return columnComment;
	}

	public void setColumnComment(String columnComment) {
		this.columnComment = columnComment;
	}

	public String getAttrName() {
		return attrName;
	}

	public void setAttrName(String attrName) {
		this.attrName = attrName;
	}

	public String getAttrname() {
		return attrname;
	}

	public void setAttrname(String attrname) {
		this.attrname = attrname;
	}

	public String getAttrType() {
		return attrType;
	}

	public void setAttrType(String attrType) {
		this.attrType = attrType;
	}

	public String getColumnType() {
		return columnType;
	}

	public void setColumnType(String columnType) {
		this.columnType = columnType;
	}

	public int getSort() {
		return sort;
	}

	public void setSort(int sort) {
		this.sort = sort;
	}

	public String getIsPk() {
		return isPk;
	}

	public void setIsPk(String isPk) {
		this.isPk = isPk;
	}
}
